<template>
  <div class="success">
    <div class="flex-x-center">
      <div class="success-img">
        <img src="@/assets/img/pass-check-success.png" />
      </div>
    </div>
    <div class="success-title">重置密码成功</div>
    <div class="success-tips">
      恭喜你，完成了密码找回。请牢记密码，如有问题请及时联系客服人员协助。
    </div>
    <div class="flex-x-center mt-lg">
      <el-button size="large" type="primary" @click="handleGoBack"
        >返回登陆</el-button
      >
    </div>
  </div>
</template>
<script setup>
import { useRouter } from "vue-router";
const emit = defineEmits(["change"]);
const router = useRouter();
const handleGoBack = () => {
  emit("change");
};
</script>
<style lang="less" scoped>
.success {
  .success-tips {
    font-size: 14px;
    color: #5e6163;
    margin-top: 15px;
    text-align: center;
  }
  .success-title {
    font-size: 24px;
    font-weight: 500;
    color: #092036;
    text-align: center;
    margin-top: 20px;
  }
  .success-img {
    margin-top: 90px;
    width: 70px;
    height: 70px;
  }
}
</style>